﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Modules.ShippingAddressOrderEdit"
    CodeBehind="ShippingAddressOrderEdit.ascx.cs" %>

<%@ Register TagPrefix="nopCommerce" TagName="CaptionTextBox" Src="~/Modules/CaptionTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="EmailTextBox" Src="~/Modules/EmailTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="PhoneTextBox" Src="~/Modules/PhoneTextBox.ascx" %>

<table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
      <td colspan="2"><span class="red1"><strong>*</strong></span><strong> - Обязательные поля</strong></td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
        <td width="40%">
            Выберите предпочтительную <br />
            дату получения товара <span class="red1"><strong>*</strong></span>:
        </td>
        <td width="60%">
            <nopCommerce:NopDatePicker runat="server" ID="dtDateGet" DayText="<% $NopResources:DatePicker2.Day %>"
              MonthText="<% $NopResources:DatePicker2.Month %>" YearText="<% $NopResources:DatePicker2.Year %>" />
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtCity" Caption="Город"  
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо указать город"  
              CssEditClass="reg_textbox" CssContainerClass="shippingaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtAddress1" Caption="Адрес доставки" TextMode="MultiLine"
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо указать адрес" 
              CssEditClass="reg_textbox_multi" CssContainerClass="shippingaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtContact" Caption="Контактное лицо" 
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо контактное лицо" 
              CssEditClass="reg_textbox" CssContainerClass="shippingaddress-table-container">
          </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <asp:CheckBox ID="cbNotifiedSMSAboutOrder" runat="server" Checked="true" 
              Text="Уведомить о состоянии заказа по SMS " Font-Italic="true" TextAlign="Left"></asp:CheckBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtPhoneNumber" Caption="Контактный телефон"  
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо указать телефон" IsPhone="True"  
              CssEditClass="reg_textbox" CssContainerClass="shippingaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <nopCommerce:CaptionTextBox runat="server" ID="txtEmail" Caption="E-mail"  
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо указать e-mail" IsEmail="True"
              CssEditClass="reg_textbox" CssContainerClass="shippingaddress-table-container">
            </nopCommerce:CaptionTextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
          <nopCommerce:CaptionTextBox runat="server" ID="txtFirstName" Caption="Получатель" 
              ValidationGroup="CustomerShippingAddress" ErrorMessage="Необходимо указать получателя" 
              CssEditClass="reg_textbox" CssContainerClass="shippingaddress-table-container">
          </nopCommerce:CaptionTextBox>
          <asp:Label ID="lblShippingAddressId" runat="server" Visible="false"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            Дополнительная информация
        </td>
        <td>
            <asp:TextBox ID="txtAddInfo" runat="server" TextMode="MultiLine" Rows="5" CssEditClass="reg_textbox"></asp:TextBox>
        </td>
    </tr>
    <tr valign="top">
        <td colspan="2"><span style="color:red;"><em>В случае, если сособ доставки будет почтовым отправлением, то адрес доставки должен содержать почтовый индекс</em></span></td>
    </tr>
</table>
